package com.zhaoyh.mapper;

import com.zhaoyh.bean.Equipment;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface EquipmentMapper {
    String TABLE_NAME = "equipment";

    String SELECT_FIELDS = "entityID as 'entityID', " +
            "etno as 'etno', " +
            "dataTime as 'dataTime', " + "userID as 'userID', " + "isLogin as 'isLogin'";

    Equipment getEquipment(@Param("etno") String etno);

    void insertEquipment(@Param("etno")String etno, @Param("dataTime")Date dataTime, @Param("userID")Integer userID, @Param("isLogin")Integer isLogin);
}
